package com.quanyan.financialSystem.mapper;

import com.lefu.commons.utils.Page;
import com.quanyan.financialSystem.entity.vo.req.ReqPlaceRentCost;
import com.quanyan.financialSystem.entity.vo.resp.BuyContractDetail;
import com.quanyan.financialSystem.entity.vo.resp.RespPlaceRentCost;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2016/10/19.
 */
public interface PlaceRentCostMapper {

    /**
     * 场租
     * @param page
     * @param reqPlaceRentCost
     * @return
     *
     * //todo SQL 有问题
     */
    public List<RespPlaceRentCost> findAllPlaceRentCost(@Param("page") Page page ,@Param("m") ReqPlaceRentCost reqPlaceRentCost);

    /**
     *
     * @param lst
     * @return
     */
    public List<BuyContractDetail> findContractDetail(@Param("list") List<RespPlaceRentCost> lst );
}
